The CSV file format for Siglent SDG series arbitrary waveform generators (including the SDG6000X) relies on a specific four-line metadata header, followed by a data format identifier row, before list of raw values begins. 

If you open or create a compatible CSV template for EasyWaveX or for direct USB playback, the layout breaks down into two distinct sections. 

The Metadata Header (Lines 1–4)
The first four lines must explicitly define the structural boundaries and target attributes of your custom signal. Each entry is written on its own line as a comma-separated key-value pair: 

data length, <value>
What it means: The total number of points (samples) that make up your arbitrary waveform.Example: data length, 16384 

frequency, <value>What it means: The baseline playback frequency of the waveform cycle in Hertz.Example: frequency, 1000 (sets a 1 kHz base playback rate). 

amp, <value>What it means: The peak-to-peak output voltage (Amplitude) assigned to the signal boundaries.Example: amp, 2.0 (scales the top and bottom values to span 2.0 Vpp). 

offset, <value>What it means: The DC offset voltage shift relative to 0V.Example: offset, 0.0 [1] 

The Data Identifier Row (Line 5)Directly beneath the parameters, you must provide a string that tells the hardware how to parse the incoming column data. In most custom templates, this line uses a timestamp/voltage descriptor: 
Second, Volt (or alternatively Xpos, value / Time, Ampl)What it means: This dictates that subsequent rows feature two columns: the horizontal time vector (or sample index), followed by the exact vertical signal value. [1] 

Example of a Complete, Valid CSV StructureIf you open the file in a raw text editor, it should structurally look exactly like this:
textdata length, 10
frequency, 1000.000000
amp, 5.000000
offset, 0.000000
Second, Volt
0.000000, 0.000000
0.000001, 1.250000
0.000002, 2.500000
0.000003, 1.250000
0.000004, 0.000000
...text truncated for brevity...

Pro-Tips for Generating Custom Files:Scaling: Even if your points in the column are normalized (e.g., between -1 and 1), the generator automatically stretches or squashes the raw data array to dynamically match the amp and offset flags you hardcoded in the header. 
Line Endings: Ensure your script or spreadsheet editor saves the file using standard carriage returns/newlines (\n or \r\n) without appending hidden metadata characters, which can throw error codes on the SDG front panel. 
